﻿using Android.AccessibilityServices;
using Android.Graphics;
using Android.OS;
using Android.Util;
using Android.Views.Accessibility;

namespace ScreenShotDemo
{
    [Service(Label = "ScriptAccessiblilityService", Permission = "android.permission.BIND_ACCESSIBILITY_SERVICE",Exported = true)]
    [IntentFilter(new[] { "android.accessibilityservice.AccessibilityService" })]
    [MetaData("android.accessibilityservice", Resource = "@xml/accessibility_service_config")]
    public class ScriptAccessiblilityService : AccessibilityService
    {
        public static ScriptAccessiblilityService? _instance { get; private set; }
        public override void OnAccessibilityEvent(AccessibilityEvent? e)
        {
            throw new NotImplementedException();
        }

        public override void OnCreate()
        {
            base.OnCreate();
            _instance = this;
        }

        public override void OnInterrupt()
        {
            throw new NotImplementedException();
        }

    }
}
